<style>
	@import url('./infiniteequence.css');
</style>
<template>
	<!-- 公共头部 -->
	<view> <my-header :title="'无限数字'" :lefticon="'left'"></my-header></view>
	<!-- 无限数字 -->
	<view class="content">
		<view class="projectexercisestwo_top_b" v-show="!ifshow">
			<view class="countdown"><text>{{langMatch.countdown}}：<text class="time">{{times}}:{{seconds}}</text></text></view>
			<view @click="confirmsubmit()" class="confirmsubmit">提交</view>
		</view>
		<view class="easyinput">
			<uni-easyinput v-model="value" placeholder="从1开始点击" :clearable="false" :disabled="true" ></uni-easyinput>
		</view>
		<view class="rattle">
			<uni-grid :column="3" :highlight="true" :square="true">
				<uni-grid-item :index="1" @touchstart="number(1)">
					<text class="text">1</text>
				</uni-grid-item>
				<uni-grid-item :index="2" @touchstart="number(2)">
					<text class="text">2</text>
				</uni-grid-item>
				<uni-grid-item :index="3" @touchstart="number(3)">
					<text class="text">3</text>
				</uni-grid-item>
				<uni-grid-item :index="4" @touchstart="number(4)">
					<text class="text">4</text>
				</uni-grid-item>
				<uni-grid-item :index="5" @touchstart="number(5)">
					<text class="text">5</text>
				</uni-grid-item>
				<uni-grid-item :index="6" @touchstart="number(6)">
					<text class="text">6</text>
				</uni-grid-item>
				<uni-grid-item :index="7" @touchstart="number(7)">
					<text class="text">7</text>
				</uni-grid-item>
				<uni-grid-item :index="8" @touchstart="number(8)">
					<text class="text">8</text>
				</uni-grid-item>
				<uni-grid-item :index="9" @touchstart="number(9)">
					<text class="text">9</text>
				</uni-grid-item>
				<uni-grid-item :index="88" @touchstart="number(88)">
					<text class="text">{{clearqueue}}</text>
				</uni-grid-item>
				<uni-grid-item :index="0" @touchstart="number(0)">
					<text class="text">0</text>
				</uni-grid-item>
				<uni-grid-item :index="99" v-show='ifdowmpage' @touchstart="number(99)">
					<text class="text">{{nextproblem}}</text>
				</uni-grid-item>
				<uni-grid-item :index="999" v-show='!ifdowmpage' @touchstart="number(999)">
					<text class="text">{{loadingtitle}}</text>
				</uni-grid-item>
			</uni-grid>
		</view>
	</view>
	<!-- 遮罩 -->
	<view class="mask" v-show="ifshow || ifpass"></view>
	<view class="start" @click="startGame()" v-show="ifshow">
		<view>{{langMatch.start}}</view>
	</view>

	<view class="passTheResult" v-show="ifpass">
		<view class="passTheResultlevel">
			<view class="type-color">闯关结果</view>
			<view><text>得分：</text>{{totalscore}}分</view>
			<!-- <view><text>实时名次：</text>暂无</view> -->
			<!-- 关卡 -->
			<view class="level" v-for="(item,index) in btna"  @click="clickList(index)">
				<view class="text">{{item}}</view>
			</view>
		</view>
	</view>



</template>
<script type="module" src="./infiniteequence.js"></script>